<?php
include('./classes/class.Nmysql.php');
include('./classes/class.static.Nlog.php');
include('./classes/class.static.IoFileAndDir.php');
include('./classes/class.static.CharacterGenerate.php');
include('./classes/class.Uploader.php');
include('./classes/class.static.NImg.php');
define('APPMODE', "dev");
Nlog::puts($_FILES);

$uldr = new Uploader();
$upfarr = $uldr->init($_FILES);
$make_thumbs = NImg::thumbarr($upfarr, "./test/", array(10,20,30));

Nlog::xmp($upfarr);
Nlog::puts($make_thumbs);
?>



<?php foreach($make_thumbs as $k=>$thumbs): ?>
	<?php foreach($thumbs as $key=>$val): ?>
		<img src="<?=$val?>" />
	<?php endforeach; ?>
<?php endforeach; ?>